﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Himp.Outpatient.Migrations
{
    /// <inheritdoc />
    public partial class add_column_OperRm : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ConsultRmName",
                schema: "Outpatient",
                table: "OtpNavRec",
                newName: "OperRmName");

            migrationBuilder.RenameColumn(
                name: "ConsultRmCodg",
                schema: "Outpatient",
                table: "OtpNavRec",
                newName: "OperRmCodg");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "OperRmName",
                schema: "Outpatient",
                table: "OtpNavRec",
                newName: "ConsultRmName");

            migrationBuilder.RenameColumn(
                name: "OperRmCodg",
                schema: "Outpatient",
                table: "OtpNavRec",
                newName: "ConsultRmCodg");
        }
    }
}
